package com.ym.medical.service.impl;

import com.ym.core.utils.tkmybatis.BaseSVImpl;

import com.ym.medical.dao.HospitalCodeMapDao;
import com.ym.medical.domain.entity.HospitalCodeMapEntity;
import com.ym.medical.service.IHospitalCodeMapSV;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

/**
 * ComputerName:LAPTOP-9FVRPDCS
 * Author:lenovo
 * Date: 2019-08-01
 * Time: 16:37:00
 * 服务实现类
 */
@Service
@Transactional( rollbackFor = Exception.class)
public class HospitalCodeMapSVImpl extends BaseSVImpl<HospitalCodeMapEntity, HospitalCodeMapDao> implements IHospitalCodeMapSV {
    @Override
    public int delHosCodeMaps(Long[] hospIds) {
        return mapper.deleteHosCodeMaps(hospIds);
    }
}
